01b3edb406a23dc3abc88ab206e4a49b12529b35,wiki-service/src/main/java/org/exoplatform/wiki/service/impl/JCRDataStorage.java,JCRDataStorage,movePage,#WikiPageParams#WikiPageParams#,563

Before Change


                newLocationParams.getOwner() + ":" + newLocationParams.getPageName() + " does not exist");
      }
      ChromatticSession session = mowService.getSession();
      PageImpl movePage = fetchPageImpl(currentLocationParams.getType(),
              currentLocationParams.getOwner(),
              currentLocationParams.getPageName());
      WikiImpl sourceWiki = (WikiImpl) movePage.getWiki();
      MovedMixin mix = movePage.getMovedMixin();
      if (mix == null) {

After Change


                newLocationParams.getOwner() + ":" + newLocationParams.getPageName() + " does not exist");
      }
      ChromatticSession session = mowService.getSession();
      Page movePage = new Page(currentLocationParams.getPageName());
      destPage.setWikiType(currentLocationParams.getType());
      destPage.setWikiOwner(currentLocationParams.getOwner());
      PageImpl movePageImpl = fetchPageImpl(movePage);
      WikiImpl sourceWiki = (WikiImpl) movePageImpl.getWiki();
      MovedMixin mix = movePageImpl.getMovedMixin();
      if (mix == null) {